Package-level declarations
Types
Link copied to clipboard
Represents a single connected agent on the proxy side.
Link copied to clipboard
internal class AgentContextCleanupService(proxy: Proxy, configVals: ConfigVals.Proxy2.Internal2, initBlock: AgentContextCleanupService.() -> Unit = {}) : GenericExecutionThreadService
Background service that periodically evicts stale agent contexts.
Link copied to clipboard
Registry for connected agents and in-flight chunked scrape contexts.
Link copied to clipboard
Accumulates chunked scrape response data with CRC32 integrity validation.
Link copied to clipboard
Link copied to clipboard
object ProxyConstants
Link copied to clipboard
internal class ProxyGrpcService(proxy: Proxy, port: Int = -1, inProcessName: String = "") : GenericIdleService
Manages the gRPC server lifecycle for the proxy.
Link copied to clipboard
Link copied to clipboard
object ProxyHttpRoutes
HTTP routing logic for the proxy's Ktor server.
Link copied to clipboard
internal class ProxyHttpService(proxy: Proxy, val httpPort: Int, isTestMode: Boolean) : GenericIdleService
HTTP server that serves Prometheus scrape requests.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Maps scrape URL paths to their registered AgentContext instances.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Server-side implementation of the ProxyService gRPC service.
Link copied to clipboard
object ProxyUtils
Link copied to clipboard
data class ResponseResults(val statusCode: HttpStatusCode = HttpStatusCode.OK, val contentType: ContentType = Text.Plain.withCharset(Charsets.UTF_8), val contentText: String = "", val updateMsgs: List<String> = emptyList())
Link copied to clipboard
Tracks in-flight scrape requests and assigns results when responses arrive.
Link copied to clipboard
Link copied to clipboard
internal class ScrapeRequestWrapper(val agentContext: AgentContext, proxy: Proxy, pathVal: String, encodedQueryParamsVal: String, authHeaderVal: String, acceptVal: String?, debugEnabledVal: Boolean)